<template>
  <ul>
      <li v-for="(item,index) in list" :key="index">
          <span>{{item}}</span>
          <span><slot name="a" :i="index"></slot></span>
      </li>
  </ul>
</template>

<script>
import { ref, reactive, toRefs } from "vue";
export default {
  props:{
    list: Array
  },
  setup() {},
};
</script>
<style lang="scss" scoped>
</style>